#define _CRT_SECURE_NO_WARNINGS
#include"SList.h"

void TestSList1()
{
	SLT* plist = NULL;
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 2);

	
	

	SLTPrint(plist);
	
	SLT* FIND = SLTFind(plist, 1);
	//FIND->data *= 2;
	printf("%p\n", FIND);
	//SListInsert(&plist, FIND, 50);
	SListErase(&plist, FIND);
	SLTPrint(plist);
}

int main()
{
	TestSList1();
	return 0;
}